/*
 * @Author: TT-hzy 
 * @Date: 2024-06-25 17:03:59
 * @LastEditors: TT-hzy 
 * @LastEditTime: 2024-06-25 17:12:36
 * @Description: 
 */

import { Controller } from "egg";


export default class TuChongInfoController extends Controller {
    public async index() {
        return this.ctx.body = "hellow 爱享我"
    }
    public async list() {
        const { ctx } = this;
        const { page, postId, type } = ctx.query;
        const idList = await ctx.service.tuChongInfo.list(postId, page, type);
        ctx.body = idList;
    }

}